package com.hl.service.impl.Test;

import com.hl.domain.Test.UserTest;
import com.hl.mapper.Test.UserTestMapper;
import com.hl.service.Test.UserTestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserTestServiceImpl implements UserTestService {
    @Autowired
    private UserTestMapper userTestMapper;
    @Override
    public UserTest selectByUsernameAndPassword(String username, String password) {
        return userTestMapper.selectByUsernameAndPassword(username,password);
    }

    @Override
    public int update(UserTest userTest) {
        return userTestMapper.update(userTest);
    }

    @Override
    public int insert(UserTest userTest) {
        return userTestMapper.inset(userTest);
    }
}
